﻿<Window x:Class="HandLab.WpfApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="417" Width="748">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="149*" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="22" />
        </Grid.RowDefinitions>
        <ListView Name="listView1" MinWidth="280">
            <ListView.View>
                <GridView x:Name="gridView">
                    <GridViewColumn Header="文件名" DisplayMemberBinding="{Binding Path=FileName}" ></GridViewColumn>
                    <GridViewColumn Header="文件路径" DisplayMemberBinding="{Binding Path=Path}" ></GridViewColumn>
                    <GridViewColumn Header="文件类型" DisplayMemberBinding="{Binding Path=FileType}" ></GridViewColumn>
                    <GridViewColumn Header="文件大小" DisplayMemberBinding="{Binding Path=Size}"></GridViewColumn>
                </GridView>
            </ListView.View>
        </ListView>
        <WrapPanel Grid.Row="1" Orientation="Horizontal">
            <StackPanel Orientation="Horizontal" Margin="5,2,5,2">
                <TextBlock Name="textBlock_ContactID" Text="文件名:" />
                <TextBox Name="textBox_ContactID" MinWidth="100" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="5,2,5,2">
                <TextBlock Name="textBlock_FirstName" Text="文件路径:" />
                <TextBox Name="textBox_FirstName" MinWidth="100" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="5,2,5,2">
                <TextBlock Name="textBlock_LastName" Text="文件类型:" />
                <TextBox Name="textBox_LastName" MinWidth="100" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="5,2,5,2">
                <TextBlock Name="textBlock_EmailAddress" Text="文件大小:" />
                <TextBox Name="textBox_EmailAddress" MinWidth="100" />
            </StackPanel>
        </WrapPanel>
        <Button Grid.Row="2" HorizontalAlignment="Right" Click="button1_Click" Name="button1">Refresh</Button>
    </Grid>
</Window>
